package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 tc_vendor
 * 
 * @author qiufeng
 * @date 2022-03-12
 */
public class Vendor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 供应商名字 */
    @Excel(name = "供应商名字")
    private String name;

    /** 供应商描述 */
    @Excel(name = "供应商描述")
    private String description;

    /** 服务联系方式 */
    @Excel(name = "服务联系方式")
    private String service;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /**  */
    @Excel(name = "")
    private Integer disabled;

    /**  */
    @Excel(name = "")
    private Integer deleted;

    /** 供应商logo地址 */
    @Excel(name = "供应商logo地址")
    private String logo;

    /** 供应商封面 */
    @Excel(name = "供应商封面")
    private String cover;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setService(String service) 
    {
        this.service = service;
    }

    public String getService() 
    {
        return service;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setDisabled(Integer disabled) 
    {
        this.disabled = disabled;
    }

    public Integer getDisabled() 
    {
        return disabled;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("name", getName())
            .append("description", getDescription())
            .append("service", getService())
            .append("comment", getComment())
            .append("disabled", getDisabled())
            .append("deleted", getDeleted())
            .append("logo", getLogo())
            .append("cover", getCover())
            .toString();
    }
}
